<?php if (m('user')->logined()):?>
<div id="user_options">
    <ul>
        <li>
            <?php m('node')->block_add_options()->display('html');?>
        </li>
        <li><a href="<?php echo m('app')->url(array('m' => 'user', 'a' => 'logout'));?>">Logout</a></li>
    </ul>
</div>
<?php endif;?>
